package com.jinly.ryder.manage.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jinly.ryder.manage.service.model.DatabaseInstance;

import java.util.List;

public interface DatabaseInstanceService {
    List<DatabaseInstance> list(String appName);

    void save(DatabaseInstance databaseInstance);

    DatabaseInstance get(Integer instanceId);

    Page<DatabaseInstance> instancePage(Page page, DatabaseInstance query);
}
